package net.melon.article.inst.struts2;

import java.util.List;

import javax.annotation.Resource;

import net.esj.basic.view.AbstractPluginPageAction;
import net.melon.article.manager.ArticleManage;
import net.melon.article.pojo.Channel;

public class ChannelAction extends AbstractPluginPageAction<Channel, Channel>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1454096832508132084L;
	
	@Resource
	private ArticleManage articleManage;
	
	@Override
	protected void doGetEntity() {
		entity = defaultService.get(Integer.valueOf(id), Channel.class);
	}

	public Channel getEntity(){
		return entity;
	}
	
	public void setEntity(Channel entity){
		this.entity = entity;
	}
	
}
